package com.neusoft.supermarket;

import com.neusoft.supermarket.UI.MainUI;
import com.neusoft.supermarket.common.RegExpUtil;
import java.util.Scanner;

public class Main {

    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        MainUI mainUI = new MainUI();
        mainUI.stup();
        //checkcountname();
    }


    public static void checkcountname() {
        boolean bool = false;
        while(!bool) {
            System.out.println("请输入价格!!!");
            String str = sc.next();
            bool= RegExpUtil.checkDigit(str);
        }
    }
}
